package aspectLog;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

/**
 * Created by jack on 18/6/2.
 */
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(classes = SingConfig.class)
public class SingTest {
    @Autowired
    Singer singer;
    @Test
    public void sing_a(){
        singer.sing_a();
    }

    @Test
    public void sing_b(){
        singer.sing_b();


    }

    @Test
    public void sing_c(){
        singer.sing_c();
    }
}
